xen/xsm/flask: Fix flask_tbufcontrol hook
authorJames Carter <jwcart2@tycho.nsa.gov>
Tue, 28 Jun 2011 08:11:04 +0000 (09:11 +0100)
committerJames Carter <jwcart2@tycho.nsa.gov>
Tue, 28 Jun 2011 08:11:04 +0000 (09:11 +0100)
commit061bc8f77e64f9b6b3522a00e2a44b3c5a77623e
treeee508f24442c50ad7c628afcb9bf2a5acb1024de
parentd3f780e9a85f5b14725918fcde5b638de24d7f99
xen/xsm/flask: Fix flask_tbufcontrol hook

The flask_tbufcontrol hook currently calls domain_has_xen with the
second argument being a class (SECCLASS_XEN) instead of a permission.
This patch fixes the hook so that it passes the XEN__TBUFCONTROL
permission instead.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
xen/xsm/flask/hooks.c